<%@ page pageEncoding="utf-8"%>
<form name="formData" method="post"  id="formData">
<!--**************   SOAOFFICE 客户端代码开始    ************************-->
	<SCRIPT language="JavaScript" event="OnInit()" for="SOAOfficeCtrl">
		// 控件打开文档前触发，用来初始化界面样式
		
		//SOAOfficeCtrl.ShowRevisions='true';
	
	</SCRIPT>
	<SCRIPT language="JavaScript" event="OnDocumentOpened(str, obj)" for="SOAOfficeCtrl">
		// 控件打开文档后立即触发，添加自定义菜单，自定义工具栏，禁止打印，禁止另存，禁止保存等等
		//bDocOpen = true;
		//SOAOfficeCtrl.Document.Application.ActiveWindow.DisplayScreenTips = true;
	</SCRIPT>
	<SCRIPT language="JavaScript" event="OnDocumentClosed()" for="SOAOfficeCtrl">
		//bDocOpen = false;
	</SCRIPT>
	<SCRIPT language="JavaScript" event="OnUserMenuClick(index, caption)" for="SOAOfficeCtrl">
		// 添加您的自定义菜单项事件响应
	</SCRIPT>
	<SCRIPT language="JavaScript" event="OnCustomToolBarClick(index, caption)" for="SOAOfficeCtrl">
		// 添加您的自定义工具栏按钮事件响应
	</SCRIPT>	
	<SCRIPT language="JavaScript" event="AfterDocumentSaved(SavedOK);" for="SOAOfficeCtrl">
		if(SavedOK){
		
        }
        else{
        }
    </SCRIPT>

	<!--   OBJECT标签，客户端控件引用    -->
	<OBJECT id="SOAOfficeCtrl" name="SOAOfficeCtrl" codeBase="${base}jsp/common/SOAOffice.ocx#version=8,1,0,0" height="555" width="100%" classid="clsid:83171BA4-BDCA-42a8-BE44-745ABF36EB7E" data="" VIEWASTEXT>
		<div align=center STYLE="color:red;">本机尚未安装SOAOFFICE客户端控件，请安装浏览器上方黄色提示条或弹出提示框中的SOAOFFICE客户端控件。</div>
	</OBJECT>
<!--**************   SOAOFFICE 客户端代码结束    ************************-->
</form>